package DAO.MySQL;

import DAO.DAOFactory;
import DAO.EmployeeDAO;
import DAO.HolidayDAO;
import DAO.OTClaimDAO;
import DAO.RankDAO;
import DAO.RankListDAO;

public class DAOFactoryImpl extends DAOFactory {
	// Create Instance for each DDAO and a method for return each DAO object
	private EmployeeDAO empDAO = new EmployeeDAOImpl();
	public EmployeeDAO getEmployeeDAO()
	{ return empDAO; }
	
	private RankDAO rankDAO = new RankDAOImpl();
	public RankDAO getRankDAO()
	{ return rankDAO; }
	
	private RankListDAO rankListDAO = new RankListDAOImpl();
	public RankListDAO getRankListDAO()
	{ return rankListDAO; }
	
	private OTClaimDAO ClaimDAO = new OTClaimDAOImpl(); 
    public OTClaimDAO getClaimDAO()
    { return ClaimDAO; }
    
    private HolidayDAO holidayDAO=new HolidayDAOImpl();
    public HolidayDAO getHolidayDAO()
    {return holidayDAO;}
}